﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;

namespace Freetime.Base.Framework
{
    public class Crypto
    {
        private static MD5CryptoServiceProvider m_md5ServiceProvider = null;
        public static MD5CryptoServiceProvider MD5ServiceProvider
        {
            get
            {
                if (m_md5ServiceProvider == null)
                    MD5ServiceProvider = new MD5CryptoServiceProvider();
                return m_md5ServiceProvider;
            }
            private set
            {
                m_md5ServiceProvider = value;
            }
        }
    }
}
